package com.csx.base.design.structure.bridge;

/**
 * @author cuisongxu
 * @date 2022/9/24 12:10
 */
public class BlackPen extends Pen{

    public BlackPen(Ruler ruler) {
        super(ruler);
    }

    @Override
    public void draw() {
        System.out.print("黑");
        ruler.regularize();
    }
}
